package entity;

import java.util.List;

public class SheetEntity {
    private String sheetName;
    private List<CellEntity> cells;

    public SheetEntity() {

    }

    public SheetEntity(String sheetName) {
        this.sheetName = sheetName;
    }

    public SheetEntity(String sheetName, List<CellEntity> cells) {
        this.sheetName = sheetName;
        this.cells = cells;
    }

    public String getSheetName() {
        return sheetName;
    }

    public void setSheetName(String sheetName) {
        this.sheetName = sheetName;
    }

    public List<CellEntity> getCells() {
        return cells;
    }

    public void setCells(List<CellEntity> cells) {
        this.cells = cells;
    }

    @Override
    public String toString() {
        return "Sheet{" +
                "sheetName='" + sheetName + '\'' +
                ", cells=" + cells +
                '}';
    }
}
